The anti-wandering system